package com.ktgj.pay.utils;
/**
 * 微信小程序接口返回
 *         .----.
 *      _.'__    `. 
 *  .--(#)(##)---/#\
 *.' @          /###\
 *:         ,   #####
 * `-..__.-' _.-\###/  
 *       `;_:    `"'
 *     .'"""""`. 
 *    /, GOOD  ,\
 *   //  CODE!  \\      老狗镇楼，编码不愁
 *   `-._______.-'
 *   ___`. | .'___ 
 *  (______|______)
 *
 * @author jianfei
 *
 */
public class ResponseModel {
	
	//接口是否调用成功
	private boolean success;
	//错误信息
	private String message;
	//数据
	private Object data;
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public ResponseModel(boolean success, String message, Object data) {
		super();
		this.success = success;
		this.message = message;
		this.data = data;
	}
	public ResponseModel() {
		super();
		this.success = true;
		this.message = "调用成功";
	}
	

}
